It's been a while since I've done any telecom work, but from what I recall, the SIM card just sends a message to your phone with the operator name. The origin of that string could either be baked in the default app running on the SIM card or come from a message received from the network (eg. for a multi carrier SIM card).