Is the ID check enough? Isn't there an equals() method?