code: public function getIdentifierByName($name)
      {
          foreach ($this->licenses as $licenseData) {
              if ($licenseData[1] === $name) {
                  return $licenseData[0];
              }
          }
  
          foreach ($this->exceptions as $licenseData) {
              if ($licenseData[1] === $name) {
                  return $licenseData[0];
              }
          }
      }
docs: Returns the short identifier of a license (or license exception) by full name.
  
  @param string $name
  
  @return string|null