Bug 1082128 - Make id to string conversion in DMD use a class. r=njn