Add smarty compile id to prevent problems with using a single cache dir

The plugin instance function is using a single compile directory for
multiple template directories. A compile id will prevent collisions
within this folder.
Merge pull request #6 from there4/smarty-cache-signatures

Add smarty compile id to prevent collisions when using a single cache dir