code: public static String getContext(final PObject[] objs) {
          StringBuilder result = new StringBuilder("(");
          boolean first = true;
          for (PObject obj: objs) {
              if (!first) {
                  result.append('|');
              }
              first = false;
              result.append(obj.getCurrentPath());
          }
          result.append(')');
          return result.toString();
      }
docs: Build the context name.
  
  @param objs the objects
  @return the global context name