Or other idea:
1) If you want hammers be consumable, give them 'durability'. For example: A repair hammer has a durability of 100 and can therefore repair 100 points of durability, before he gets broken.

2) Instead of a identifying glass, make it some kind of magic crystal or orb. Identifying certain rarity would consume a certain amount of durability/charges.