Everywhere in code, you use either `id` or `name`, it doesn't help following the code.
It would help to stick to one way to describe this value.
I imagine you used `id` to match variant JSON whereas name sounds like a more descriptive name,
but at the end it doesn't help having two different names for the same thing.

`opr.id === name`, `prevCarrierName = operator.id`, `'id': carrierName`, `prevCarrierName !== operator.id`.