code: def _normalize_key(self, key):
      class_key = (
          f"{self.__class__.__name__.upper()}_REGEX_SUBSTITUTIONS"
      )
      regex_subs = self.settings.get(
          class_key, self.settings.get("SLUG_REGEX_SUBSTITUTIONS", [])
      )
      use_unicode = self.settings.get("SLUGIFY_USE_UNICODE", False)
      preserve_case = self.settings.get("SLUGIFY_PRESERVE_CASE", False)
      return slugify(
          key,
          regex_subs=regex_subs,
          preserve_case=preserve_case,
          use_unicode=use_unicode,
      )
  
imports: import functools
  import logging
  import os
  import pathlib
  from pelican.utils import slugify
label_desc: Use image node_id 8 for calling the URLWrapper obj's underlying member method code with example usage: obj._normalize_key(key) and returns: slugify