last insert id is now a dbms-independent method '
 more refactoring on the object table and api