code: def execute(self, conn, app, release_version, pset_hash, output_label, global_tag, transaction = False):
          
          binds = {}
          binds["app_name"]=app
          binds["release_version"]=release_version
          binds["pset_hash"]=pset_hash
          binds["output_module_label"]=output_label
          binds["global_tag"]=global_tag
  
          result = self.dbi.processData(self.sql, binds, conn, transaction)
  
          plist = self.formatDict(result)
  
  	if len(plist) < 1: return -1
          return plist[0]["output_mod_config_id"]
docs: returns id for a given application
  
          This always requires all four variables to be set, because
          you better have them in blockInsert