The use of taxonomic distinctness indices in assessing patterns of biodiversity in modular organisms