ENH: accept non-int definitions of cluster groups

Currently, "group" is assumed to be an array of ints. There is no particular reason why this must be so (i.e. a string variable "country" being the code for a nation).