code: private String generateBundleNameFromBundleId(String bundleId) {
  		String bundleName = bundleId;
  		if (bundleName.startsWith("/")) {
  			bundleName = bundleName.substring(1);
  		}
  		int idxExtension = FileNameUtils.indexOfExtension(bundleName);
  		if (idxExtension != -1) {
  			bundleName = bundleName.substring(0, idxExtension);
  		}
  		return bundleName.replaceAll("(/|\\.|:)", "_");
  	}
docs: Generates the bundle ID from the bundle name
  
  @param bundleId
  the bundle name
  @return the generated bundle ID