Add instance name to template cache generator to make instances friendly when sharing a cache

Ramcache anyone?