clean up identity value object equality check