ind = uniqueind(x)
Return the index ind such that x[ind] gets the unique values of x. No sorting is done
ind