code: private final String getIdAndName() {
          StringBuilder sb = new StringBuilder().append(id);
          if (identityName != null && identityName.length() > 0)
              sb.append(" (").append(identityName).append(')');
          return sb.toString();
      }
docs: Returns text formatted with both the task id and name (if any).
  For example: "1001 (My Task Name)" or just "1001"
  
  @return text formatted with both the task id and name (if any).