code: private String getIdentityFromLegacyId() throws CharacterCodingException {
          byte[] data = legacyId;
          int len = Util.toShort(data, 1);
          return Util.decodeString(data, 3, len);
      }
docs: Decodes link identity from legacy id.
  
  @return decoded link identity decoded from legacy id.