fixed hashCode method in IdentifiedDomainObject