'on' default to the query's model primary key