Update name field to use correct id attr value.