Moved attribute as XName resolution into extension method.
UiCommon