XCOMMONS-695: Ability for a component to get its descriptor metadata
* improve macro id handling