add name argument to relevant functions in form_fields

no tests yet and not sure that id and name shouldn't be swapped in priority