New
ClassAds already have a compatibility version of this
method, but it doesn't handle chained ads.
It also doesn't print
MyType or
TargetType if they're not set, nor does it print them first. In old
ClassAds, if these are unset, they're printed as empty strings.
Developer time: 4 hours