From Homogeneity to Heterogeneity: An Index of Diversification