pidstore: new pid provider for record ids

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
uploader: first release insert mode