It should probably use `pk` instead so that it can be used with models whose primary keys are named other than `id`.