es6 add idref