The unique id is used to find the text to be copied. This allows multiple “copy to clipboard” links on a page. This also allows the separation of the “copy to clipboard” link(s) from the text to be copied.