oracle fixes for getLastInsertId()

removed fixme (i was wrong about oracle)
and some id fixing