Removed the need to set the name parameter of form elements

This change removed the need to set the name parameter of form elements to $uniquename and instead sets it to $name.

The form open template now adds a hidden field with the formname to
allow for this change.