code: def dynamic_metadata(field, settings=None):
      getter = globals().get("get_" + field)
      if getter:
          return getter(settings)
      return globals()[field.replace(".", "_")]
  
imports: import re
  import os
  import sys
label_desc: Use image node_id 4 for calling a global function with example usage: dynamic_metadata(field, settings) and returns: globals, getter