Maintain our own primary keys

Signed-off-by: David Celis <me@davidcel.is>