The %ExecutingInstance% token returns (v9.0+) an opaque ID of the currently executing instance, including both the execution instance and the specific macro executing. It can be used to retrieve Local and Instance variables via AppleScript.