code: def get_suffix(self, used_suffixes=None):
      used_suffixes = {} if used_suffixes is None else used_suffixes
      suffix = "-".join(self.nametags)
      if suffix:
          suffix = "-" + suffix
  
      if suffix not in used_suffixes:
          used_suffixes[suffix] = 1
          return suffix
  
      for i in range(1, 100):
          proposed_suffix = suffix + "-" + str(i)
  
          if proposed_suffix not in used_suffixes:
              used_suffixes[proposed_suffix] = 1
              return proposed_suffix
  
      return suffix
  
imports: import dataclasses
  import os
  import gradio
  from modules import errors, shared
label_desc: Use image node_id 2 for calling the PostprocessedImage obj's underlying member method code with example usage: obj.get_suffix(used_suffixes) and returns: suffix, suffix, proposed_suffix