The equality operator for the object identifier.
Returns true if the object identifier is equal to another one; otherwise, the method returns false.