When creating a custom profile tpl (user-profile.tpl.php) and loading the information from content_profile module using

<?php print $profile['content_profile']; ?>

this returns a link to few each profile the user has access to.

I need to add a specific class to each one of these links. If the link is

<a href="node/24">Author Profile</a>

I would like it to be something like...

<a href="node/24" class="author-profile">Author Profile</a>

Any ideas of things to do in the user-profile.tpl.php or the template.php?

Maybe the module could add classes to these by default?