Removed insert method because select max breaks db:migrate.
Insert statement returns id_value if it's given.  Or nil if no pk is defined.
New version.