$ 0 0 layerComps have a property called name. Just use a for-clause to change the name of each LayerComp.