code: def current_scope_id():
      global _current_scope_id
      if not hasattr(_current_scope_id, "value"):
          _current_scope_id.value = 1
      return _current_scope_id.value
  
label_desc: Use image node_id 1 for calling a global function with example usage: current_scope_id() and returns: _current_scope_id