When you want to rename multiple same objects in a group or component, use rename selection to automatically
Tutorial video:
Steps by steps :
- Click select all objects with the same name – click on rename seletion
- Enter the name to replace and the name you want to change

Automatic name change in Sketchup