You’ll need to cite some evidence for this. Occupational guilds and membership associations stretch back a lot further into the Middle Ages in Europe versus the timeline you’re suggesting here.
There are also some very common sense public policy issues at play like making sure people who say they can cut hair or fix your teeth actually know how to do it.
Granted they’ve been misused as well for various less honorable reasons but the narrative you’re presenting here doesn’t totally hold together.