Is there a way to ask in game (i.e. in a non-meta way) what a character's class is? There have been a few times when my character is meeting an NPC (allied combatant) or another PC and it's bugging me that I can't think of a non-meta way to ask what their class is.
My goal is to figure out what a character can do. I don't care (in this context) if, for example, a sorcerer is a bandit (that's background) — the point is learning that their fighting style is that of a sorcerer.
I've had my DM or fellow player tell me to RP finding out.
Anyone have any ideas?