def split_field(field):
    """Разбивка на поля."""
    if not isinstance(field, (list, tuple)):
        return field.split('.')
    fields = []
    for f in field:
        if not isinstance(f, (list, tuple)):
            f = f.split('.')
        fields.extend(f)
    return fields
