Hi,
You can try this :
myParticipants.cfg :
/' Define participants '/
!if DETAILS
participant "CAT's PAW" as CAT_PAW
participant "CAT's MOUTH" as CAT_MOUTH
!else
participant "The whole CAT" as CAT
/' Replace CAT_PAW and CAT_MOUTH by CAT '/
!define CAT_PAW CAT
!define CAT_MOUTH CAT
!endif
This has not been tested, but this should work.
Is this what you are trying to do ?