Updating the InsertGenerator to safely check if a table has an identity column