Allow models to be registered twice without error.
Use pk.attname to get the real primary key value.
Store values of all fields, not just local ones.