Add TODO: add db_value_copy and use it in all objects to copy the primary key