CRUD generator patch fix for using non 'id', in this case 'paperid', as a primary key