Minor nit: should this be `currentTagID = this.getNewID()`? (Otherwise we don't really need that function.)