Create a GUID in a template Is there a straightforward way of creating a GUID or some other type of unique identifier within a Twig Template?

I'm aware of StringHelper.UUID (mentioned in a different question), but it doesn't look like I can use it directly in a template.

I'm comfortable creating a small plugin to expose this, or alternatively creating a twig filter to use a relevant PHP method, I just didn't want to go re-inventing the wheel if there's already a good solution I don't know about.
If a simple timestamp is unique enough, you can use:

{{ now|date('YmdHis') }}


Which will give you something like:

20150723170500