[magic.conf.template] use hash_entity() instead of pc_id().