@staticmethod
def _clean_field(field):
    """
        Dimension can be passed as dictionary or str. str works as abbreviation for basic requests
        and will be converted to proper dictionary form.
        """
    if isinstance(field, str):
        return {'id': field}
    elif isinstance(field, dict):
        return field
    else:
        raise ValueError(
            'Unexpected type of dimension. Please use str or dict.')
