Gets the nested name of this type.
If this type is not a nested type, the result is the same as
Otherwise the name of the nested type is prefixed with a
$ and appended to
the name of the enclosing type, which might be a nested type as well.