Added get_insert_id to class