Formatting for Compare plugin attribute values

New definitions for formatting field values.  See commit message for details.