Hi Robert,
I am getting a 1085 error when using the Identify 3.01 tool. I followed your PDF help file in constructing the <layers> portion of the syntax, the rest of the syntax remains unchanged from the tool as I downloaded it. Yes, the REST service name is what is used for the <name> tag.
Here is my syntax:
<layers onlythese="true">
<layer>
<name>offices</name>
<fields>
<field name="Address" />
<field name="City" />
<field name="State" />
<field name="Postcode" />
</fields>
<links>
<link includeinresults="false" field="" alias="" tooltip=""/>
<linkprefix></linkprefix>
<linksuffix></linksuffix>
<iconfield></iconfield>
<iconprefix></iconprefix>
<iconsuffix></iconsuffix>
</link>
</links>
<zoomscale>15000</zoomscale>
<forcescale>true</forcescale>
</layer>
<layer>
<name>QLD rail</name>
<fields>
<field name="FNAME" alias="Name"/>
<field name="ELECTRIFIE" alias="Electrified"/>
</fields>
<links>
<link includeinresults="false" field="" alias="" tooltip=""/>
<linkprefix></linkprefix>
<linksuffix></linksuffix>
<iconfield></iconfield>
<iconprefix></iconprefix>
<iconsuffix></iconsuffix>
</link>
</links>
<zoomscale>15000</zoomscale>
<forcescale>true</forcescale>
</layer>
</layers>