Different Macro key

Hello,
is it possible to use a different key then { } inside the macro definition to use a different selector.

For Example:

<macro key=“footer” …>

This selector will select everything between {footer} and {footer}.
Is it possible to change the Selector? I want to use [footer] instead of {footer}.

Best regards
Daniel