decided what to do with entity equality

see tests on entity replacement