A special variable, id, is always available within a VS element and refers to the value of the id attribute. It is predefined and cannot be overridden. The id attribute uniquely identifies a virtual server. For example:
<PROPERTY name=docroot value="/export/$id" >
If the id attribute of the parent VS element is myserver, the docroot variable is set to the value /export/myserver.