Test weapon identicality more correctly. In particular, weapons wiwth activated curses on them are never identical to anything else.