In most professions you listed, there are highly specific requirements and training that have to be met. And you have to pass several tests.
For example, see this which describes the difference between a journeyman electrician and a master electrician.
I don’t know as much about plumbing, but I imagine there is a similar set of requirements.
In a way, this parallels the Middle Ages where there were guilds and apprenticeships that prepared the next generation of masons. (see Ken Follet’s novel Pillars of the Earth). Except that now, the requirements are more regulated and the examinations more standard.
https://www.hallettmarble.com.au/what-are-the-qualifications-of-a-master-stonemason/
https://everythingwhat.com/what-is-a-master-pipefitter
and so on