I think that `this._context.$getId` should be used here instead of `this._context.getDomId`. 

Moreover, separately, `getDomId` should probably become private, in my opinion it doesn't make sense to expose this method to the user. If (testmode && id string contains "+"), it creates an ad-hoc id, which is used internally by `__$writeId`. Otherwise it just calls `$getId`.