Define behaviour for different ids

See my comments in #224 and #227.

Short explanation: Ok, I understand that two Items (or two Properties) must still be equal if one does have an id and the other does not. This is relevant in our Wikibase Diff/ChangeOp code. But if two ids are set and they are different the Items (or Properties) should not be equal. This would be odd.