Add equals and hashcode methods to IdsetMember