Add "get_id" function to get object id of a object (e.g. to join tables)