Use string formatting instead of the `+` operator, so that it doesn't matter which exact type is used for the `rig_id` custom property. Also reshuffle the code a bit to reduce indentation. Pull Request: https://projects.blender.org/blender/blender/pulls/133967