See the OverDrive Link plugin, which does the same thing for OverDrive library links.
{identifiers:select(odid)} ==
Code:
UUID****-****-****-****-************@library1.lib.overdrive.com&\
UUID****-****-****-****-************@library2.lib.overdrive.com&\
UUID****-****-****-****-************@library3.lib.overdrive.com
And then maps those to the appropriate links.