Add name attribute to input field