used in new View.idForModel