I have encountered this before as DM and this is how I handled it (and still do). If your character has had a meaningful encounter with a creature (combat, conversation, or such. Not just seeing it breifly from a distance) they can polymorph into one. Otherwise, roll the specific knowledge...