storage: make storage primary key configurable.