Automatically set the field name as value for the HTML `id` attribute on the rendered widget.
Added test case to check if the proper attributes are set on html widgets.
Merge pull request #1564 from alumni/master

Fixes #1535 (HTML widget missing `id` attribute)