Work with non 'id' primary key columns