Admin Forum:A way to identify span ids

I'm looking for a way to replicate what happens with references with span ids also known as anchors. For example:

This is a statement. To click on the [1] highlights the relevant reference below. Is there any way to replicate this with span ids?

For those unfamiliar with span ids if you click here, you will be directed to the sentence "Ut ac elementum lacus." below. They're used to link to part of the page that isn't directly under a title.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis eu ipsum eget arcu iaculis dignissim et ut nulla. Sed condimentum congue erat at mollis. Aliquam cursus, nulla id porta fermentum, velit massa laoreet turpis, et rhoncus nisi risus sit amet risus. Aliquam in nisl in tortor porta lacinia. Curabitur vestibulum mattis tristique. Quisque in lectus sollicitudin magna tincidunt lacinia. Nunc odio mauris, congue bibendum fermentum vitae, accumsan convallis metus. Ut vitae augue in risus porta suscipit. Ut ac elementum lacus. Proin faucibus mauris pellentesque metus blandit fermentum. Aliquam sapien quam, volutpat sagittis sollicitudin ac, sodales vitae erat. Sed id massa quis justo placerat vulputate vitae non leo. Morbi luctus, elit et scelerisque fringilla, nibh augue rutrum nisl, ac ullamcorper quam lorem vitae lorem. Ut semper neque vitae eros euismod tincidunt. Nulla posuere euismod justo in mattis.

Any ideas?