Custom inserter to handle IdentityInsert

Also handles returning the inserted row when there is an autoincrement
column.