When inserting, skip when id not yet defined (and let DB manage).
Merge pull request #55 from runejuhl/fix_sql_id

When inserting, skip when id not yet defined (and let DB manage).