That makes sense to me now, thanks.
That said, if there are no other exceptions to the varname syntax in which you wouldn’t use quotes, it seems to me that the documentation should accurately show the correct syntax, and not make any assumptions that the reader already understands all of the nuances of both KM and AppleScript syntax.