Parse ``value`` according to ``field_info``

def parse_field_value(field_info, value):
    """Parse ``value`` according to ``field_info``
    """
    if field_info.id == "FT":
        return [x for x in value.split(";") if x != "."]
    elif field_info.type == "Flag":
        return True
    elif field_info.number == 1:
        return convert_field_value(field_info.type, value)
    else:
        if value == ".":
            return []
        else:
            return [convert_field_value(field_info.type, x) for x in value.split(",")]