cc_get_cluster function

Provides the vector of clusters' ID to which each element belong to.