increment the name and id of generated input fields