Better support for genetared id when insert