I was about to say exactly what Tom just said! Click the "Insert Hyperlink" button above (world with a document symbol) will create the tags.
To make sure it picks up the right one if it's part of a thread, I always click the message title first, because it adds the message reference to the URL.