Configurable primary keys