Add object_id

Shouldn't be doing this in the database connector