Force primary key immutability. Included tests.