Cache nil primary keys on tables that don't have a simple primary key.