Fix120

Fix for #120 and PR #239. Update ids for dynamic fields whose id is a static (set once) field