enable writing of id attribute