Documentation and tests for primary key / identifier.