Add unique HTML ids

If multiple instances are running on a page the HTML ids
used on the nav links and panels can clash. Ensures a unique
one is applied to each instance
Remove some of the test duplication
v1.0.5