Added support for account attributes in getTextualValue() (closes #3833)