5527 added ac_insert_id() function