code: def make_id(str):
      identifier_chars = string.ascii_letters + string.digits + "._"
      str = "".join([c if c in identifier_chars else "_" for c in str])
      if str[0] in (string.digits + "."):
          str = "_" + str
      assert re.match("^[A-Za-z_][A-Za-z0-9_.]*$", str), "FILE" + str
      return str
  
imports: from _msi import *
  import fnmatch
  import os
  import re
  import string
  import sys
  import warnings
label_desc: Use image node_id 6 for calling a global function with example usage: make_id(str) and returns: str