Use `$this->primaryKey` to ref table pk instead of hardcoded 'id'. Closes #8