Allow id attributes for textbox and select elements

To be used together with the label's htmlFor attribute.