1. A method comprising: in a programmable processor, receiving a pattern having a sequence of pattern components, and receiving a dimension member of a dimension, the dimension having a dimension hierarchy, the dimension member occurring in a level of the dimension hierarchy, and the dimension member having a context that includes an identifier, a parent of the dimension member, an ordered set of siblings having the same parent as the dimension member, and the level of the dimension hierarchy; interpreting the received sequence of pattern components within the context of the dimension member, wherein the sequence of pattern components represents the level of the dimension hierarchy in which the dimension member occurs, and wherein the sequence of pattern components further represents a relative position of the dimension member with respect to the ordered set of siblings; and generating, by the processor, a dimension member name as the identifier of the dimension member based on the interpretation of the received sequence of pattern components within the context of the dimension member in the level of the dimension hierarchy.