for nested model, now uses primaryKeyValue rather than default ID field