Validation primary key