Include 'id' attribute for inputs
Properly initialise fields so that their settings get initialized.
Merge pull request #421 from plomino/jean-issue335-labels

Include 'id' attribute for inputs