Added a new compat function

getPlayerVocationName, could not find it any of my newer or older compat.lua files so added it.