Notably? I would say “artisan” is too broad and “carpenter” is the usual meaning. the profession based surnames are far from being dominant either compared to smith, which almost always means blacksmith in the west.
While surnames are diluted this kind of “joke” about surnames still exists today, so there is at least some meaning