switched .id to .pk to catch edge cases with custom user-defined primary key fields