def get_key_from_dimensions(dimensions):
    """
    Get a key for DERIVED_UNI or DERIVED_ENT.

    Translate dimensionality into key for DERIVED_UNI and DERIVED_ENT
    dictionaries.
    """
    return tuple(tuple(i.items()) for i in dimensions)