Get a reasonable unique ID for the package, including the package manager name.

@return The package ID
166257
public String getPmPackageId() {
		StringBuilder sb = new StringBuilder();
		if (pm != null) sb.append(pm);
		sb.append(":");
		if (group != null) sb.append(group);
		sb.append(":");
		if (name != null) sb.append(name);
		sb.append(":");
		if (version != null) sb.append(version);
		sb.append(":");
		return sb.toString();
	}
1148059
public String getId()
  {
    String returnValue = _targetStream.getID();
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "getId", returnValue);
    return returnValue;
  }
124163
public UUID getMessageId() {
        final ByteBuffer wrap = ByteBuffer.wrap(messageIdBytes);
        return new UUID(wrap.asLongBuffer().get(0), wrap.asLongBuffer().get(1));
    }
210784
public String getQualifiedTypeNameForFile() {

        String typeName = getTypeNameForFile();
        String qualifiedTypeName = mDoc.qualifiedTypeName();

        int packageLength = qualifiedTypeName.length() - typeName.length();
        if (packageLength <= 0) {
            return typeName;
        }

        String packagePath = qualifiedTypeName.substring(0, packageLength);

        return packagePath + typeName;
    }
1160694
def get_release_id(self, package_name: str, version: str) -> bytes:
        
        validate_package_name(package_name)
        validate_package_version(version)
        self._validate_set_registry()
        return self.registry._get_release_id(package_name, version)
873984
public static int getIdentifier(String name) {
        Resources res = Resources.getSystem();
        return res.getIdentifier(name, TYPE_ID, NATIVE_PACKAGE);
    }
340837
public String getId() {
        if (id == null) {
            if (isValid()) {
                id = getProperty(ResourceUtil.PROP_UUID);
            }
            if (StringUtils.isBlank(id)) {
                id = Base64.encodeBase64String(getPath().getBytes(MappingRules.CHARSET));
            }
        }
        return id;
    }
1141398
public String id() {
        if (null == _id) {
            _id = conf().get(RythmConfigurationKey.ENGINE_ID);
        }
        return _id;
    }
412619
public String getId()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
    {
      SibTr.entry(tc, "getId");
      SibTr.exit(tc, "getId", Long.toString(_messageID));
    }
    return ""+_messageID;
  }
503622
public final @DottedClassName
    String getPackageName() {
        int lastDot = className.lastIndexOf('.');
        if (lastDot < 0) {
            return "";
        } else {
            return className.substring(0, lastDot);
        }
    }
767686
public String getQualifiedName() {
		if (StringUtils.hasText(packageName)) {
			return packageName + "." + typeSpec.name;
		}

		return typeSpec.name;
	}
368839
@Override
	public String getUniqueId() {
		final String sourceMethod = "getUniqueId"; //$NON-NLS-1$
		boolean isTraceLogging = log.isLoggable(Level.FINER);
		if (isTraceLogging) {
			log.entering(AggregatorExtension.class.getName(), sourceMethod);
			log.exiting(AggregatorExtension.class.getName(), sourceMethod, uniqueId);
		}
		return uniqueId;
	}
1185483
public String getSystemMessageId() {
    //based on com.ibm.ws.sib.mfp.impl.JsHdrsImpl
    if (uuid != null) {
      StringBuilder buff = new StringBuilder(uuid.toString());
      buff.append(MfpConstants.MESSAGE_HANDLE_SEPARATOR);
      buff.append(value);
      return new String(buff);
    }
    else {
      return null;
    }
  }
677552
private final String getIdAndName() {
        StringBuilder sb = new StringBuilder().append(id);
        if (!" ".equals(name))
            sb.append(" (").append(name).append(')');
        return sb.toString();
    }
400939
public static String getApplicationHashKey(String packageName) {

        String hash = "";
        try {
            PackageInfo info = QuickUtils.getContext().getPackageManager().getPackageInfo(packageName, PackageManager.GET_SIGNATURES);
            for (Signature signature : info.signatures) {
                MessageDigest md = MessageDigest.getInstance("SHA");
                md.update(signature.toByteArray());
                hash = Base64.encodeToString(md.digest(), Base64.DEFAULT);
            }
        } catch (NameNotFoundException e) {
            QuickUtils.log.e("NameNotFoundException");
        } catch (NoSuchAlgorithmException e) {
            QuickUtils.log.e("NoSuchAlgorithmException");

        }
        return hash;
    }
567922
public String getJavaPackage() {
		String javaPackage = getJavaGroupId(); 
		if (!isGroupIdSuffixedWithArtifactId()) {
			javaPackage += "." + getJavaArtifactId(); 
		}
		return javaPackage.toLowerCase();
	}
149287
public final String getApiMessageId() {

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "getApiMessageId");

        String value = null;

        /* The ApiMessageId is held as hexBinary & so we need to convert to an */
        /* ID:xxxx format. */
        byte[] binValue = (byte[]) getApi().getField(JsApiAccess.MESSAGEID);
        if (binValue != null) {
            /* It'll be more economical to get the length right immediately */
            StringBuffer sbuf = new StringBuffer((binValue.length * 2) + 3);

            /* Insert the ID: then add on the binary value as a hex string */
            sbuf.append(ID_STRING);
            HexString.binToHex(binValue, 0, binValue.length, sbuf);

            /* Return the String representation */
            value = sbuf.toString();
        }

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(this, tc, "getApiMessageId", value);

        return value;
    }