How to I get a unique id for html elements that are being generated via the templates

Currently there is a line in the template that does :
<a id=’$id’ class=“moreLink query_links” title="#field(‘displaytitle’)" href="$fullLink">#field(“displaytitle”)</a>

The values for $fullLink is known and the #field macro executes ok.

I want to give the hyperlink a unique id.

Are there any system macros or a quick way of getting a unique id from default velocity extensions in Rhythmyx. Version 6.5.2?

Besides using

#set($id = $sys.item.getProperty('sys_contentid').String+"-hyperlink")##

I’m not aware of any system macros. This #set() worked in Percussion CM 6.7.