Well, one method was branding.
Or a scarlet pumpernickel..
I’ve heard that the town bakers were in charge of that.