Added COMPARATOR_BY_ID to DomainObjectUtil