code: def profileGroupName(self, profile=None):
          
          profile = profile if profile else self.profile
          profGroupName = '_debug_' if DEBUGGING else ''
          profGroupName += string_to_identifier(profile)
          return profGroupName
docs: Returns the name of the QSetting group for the profile.
              Converts to lower case and removes whitespace, interpunction, etc.
              Prepends _debug_ if the debugging flag is set
  
              :param profile: profile name. If None the current profile is used.