code: Name fieldName(Symbol sym) {
          if (scramble && (sym.flags() & PRIVATE) != 0 ||
              scrambleAll && (sym.flags() & (PROTECTED | PUBLIC)) == 0)
              return names.fromString("_$" + sym.name.getIndex());
          else
              return sym.name;
      }
docs: Given a field, return its name.