code: def make_storage_key(portal_type, prefix=None):
      
      key = portal_type.lower()
      if prefix:
          key = "{}-{}".format(key, prefix)
      return key
docs: Make a storage (dict-) key for the number generator