The performance counters were implemented to be “user-friendly” in having the camera name in the name of the counters. This approach has the effect that the counters will not remain the same if the camera is renamed. Unfortunately, there is no way to avoid the counters being changed on cameras being renamed.
I am wondering if you can implement a workaround routine that will match the camera on the GUID part of the counters name. I hope you find a solution.