The field[‘name’] didn’t work for me. I ended up with
[name] => fields[field_5266beccd0583][]
which wasn’t exactly what I was looking for.
I ended up doing a string position find (strpos) on the $field[‘id’] for the name and I came up with the answer.
I hope this helps!