Green’s Dictionary of Slang

pillory n.

[? the placing of bakers who were caught giving false measure in the pillory; the profession was often synon. with fraud]

a baker.

[UK]B.E. Dict. Canting Crew n.p.: Pillory a Baker.
[UK]New Canting Dict. [as cit. c.1698].