Implemented object identity comparator (fixes #10)