That's for WoW, though. In Wildstar you can type "/eval [Link Item Here]" into your chat, which will output something into your chat window on the "Debug" channel such as:
Code:
[Debug] : {I1800000004ed5d2d}: [string "?"]:1:unexpected symbol near '{'
If that were what it spit out to you, this would be what you needed to put in your macro:
Code:
{I1800000004ed5d2d}
There may be an easier way to do this, and I've considered making an addon for it, but this is the way I've been doing it.
Hope this helps!