return id form inserts, autoload tables