D.Core.Types: Introduce a bit of knot-tying in nameSub

Fixes #43.