There is a NPC you can show items to, and while the hint he gives you is not straight out the answer, he does narrow down what it is used for a lot.
The book puzzle did require some meta knowledge (I forgot to put the code somewhere), but that's what the switch is for.
Thanks for playing!