def normalize_name(name):
    """Normalize Blender names to get valid Python identifiers"""
    normalized = name
    for illegal in '.-~':
        normalized = normalized.replace(illegal, '_')
    return normalized
