sqlite: adding last_row_id() member function