The weird part is that Allan Pinkerton was a Chartist (sort of a proto-trade-union movement), and fled Scotland to avoid arrest for his involvement in the movement. His dad was a cop though, which might explain his later career.
(I have a theory, based on no facts whatsoever, that he might have been an informer on the Chartists, and actually fled because someone realised who’d betrayed them)