Work with primary key column not named 'id'