I don't understand why labs don't include correct model name in the training process. Almost nobody seems to be willing to tell their models who they actually are.
This approach is basically how all "models know who they are" (they don't actually typically "know" that at all), it's just a system prompt instruction in the platform you use.
I think Qwen teaches its models that they are Qwen. Most others don't bother.