add possibility to redefine name of primary key