Fixes #119 - Install now retrieves auto-increment ID before inserting custom fields.

Should work better in production sites with existing data.