Achieving anonymity via clustering