jake knew a thing or two about police organisation , including the knowledge that a small section of the criminal investigation department ( cid ) was given over to the special branch to counter terrorism , and mostly to provide security from attacks .