public function findByIdentifier($identifier) {
    foreach ($this->packages as $package) {
      if (S::startsWith($package->getIdentifier(), $identifier)) {
        return $package;
      }
    }
  }