In torchlight there are three passive weapon abilities "Melee", "Ranged", and "Magic". It's pretty clear that a Broadsword is a Melee weapon is a Bow is a Ranged weapon, but how can I tell if a Quarterstaff is a Melee or Magic weapon? What about a Scepter?

I'm not asking for answers to these specific examples, but rather a general way to identify the "Magic" weapons.