code: public static ModuleIdentifier forClosure(String name) {
      String normalizedName = name;
      if (normalizedName.startsWith("goog:")) {
        normalizedName = normalizedName.substring("goog:".length());
      }
  
      String namespace = normalizedName;
      String moduleName = normalizedName;
      int splitPoint = normalizedName.indexOf(':');
      if (splitPoint != -1) {
        moduleName = normalizedName.substring(0, splitPoint);
        namespace = normalizedName.substring(Math.min(splitPoint + 1, normalizedName.length() - 1));
      }
  
      return new AutoValue_ModuleIdentifier(normalizedName, namespace, moduleName);
    }
docs: Returns an identifier for a Closure namespace.
  
  @param name The Closure namespace. It may be in one of the formats `name.space`,
  `goog:name.space` or `goog:moduleName:name.space`, where the latter specifies that the
  module and namespace names are different.