code: protected String getLastPropertyPart(PAttr attr) {
  
          if (attr instanceof AIdAttr)
              return ((AIdAttr)attr).getIdentifier().getText().trim();
  
          ACompoundIdAttr compoundAttr = (ACompoundIdAttr)attr;
              return getLastPropertyPart(compoundAttr.getAttr());
      }
docs: Gets the last part of a (compound) property expression.
  @param attr The compound or simple property expression.
  @return The last component of a property expression.