assign correct IDs to imported fields, in order to update them

otherwise it will result in a failed attempt to duplicate fields with the same name, IF the ids of the fields differ from the current DB values.

This resulted in a SQL error ( ALTER TABLE tries to add a column for an already existing column )