Add primary key for namedsequence