Occa asks Stiff, "Have you ever used a wish to identify magic items? It might be a way to do all of them at once."
While he is waiting for an answer, he settles in for an identifying session, working on the pile of weapons.
He spends four days examining the weapons, identifying each item that he is able to, twice.