public static function getVersionWildcard(IRI $coid) {
    if (self::getType($coid)==self::COID_VERSION_WILDCARD) {
      $segments = explode('/', $coid->getPath());
      return $segments[2];
    } else
      return null;
  }