Hack: add id_hash item variables in the htmltmpl engine

Planet Mg relies on these (I need short hashes I can stuff into a
cookie).