def resolveAsterisk(IR):
    """
    This plugin replaces self by the respective entity's name
    """
    IR['dimensions']['order'] = {}
    for name, model in IR['models'].items():
        for entity_type, entities in model['entities'].items():
            for entity in entities:
                if len(entity['dimensions']) > 0:
                    IR['dimensions']['order'][entity['name']] = entity[
                        'dimensions']
    return IR
