tryParseProfession

Parses a villager profession according to the OptiGUI docs.