Fixed the label and field mapping by adding IDs.

Label are mapped by ID and not by name, so when there is only a name, the label is not related to the field. This was fixed by adding "id" attributes with the same value as the "name" attributes.
Merge pull request #2 from phistuck/patch-1

Fixed the label and field mapping by adding IDs.