Component Writer's Guide :: Unique Identifiers
From RadPHP XE2 Documentation
When you write components, you will need to generate code for the component to work, and probably you will need to generate unique identifiers, we usually use the component name as a base for our identifiers.
You can see samples all along the RPCL code, for example, layouts, when need to generate <div> tags for a component they are going to render, use the name to generate an id for it:
echo "<div id=\"".$v->Name."_outer\" style=\"$style\">\n";
Where $v is the component reference and it's adding "_outer" to it.
This is also used a lot when generating javascript code, you must think the code you generate for the component is going to be generated as many times as components of that type are inside a page, so you must be aware of generate unique identifiers your code requires.