code: public static String getReferencePropertyOriginalName(final String refPropertyName) {
          final int i = refPropertyName.lastIndexOf(REFERENCE_PROPERTY_SUFFIX);
          return i < 0 ? refPropertyName : refPropertyName.substring(0, i);
      }
docs: Given an internal reference node property, get the original name
  @param refPropertyName the reference node property name
  @return original property name of the reference property