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
Merge pull request #2212 from mastef/3.0-unstable

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