Does anyone know of a script or application to anonymize network data (in .CSV format)? I've got some new data I've collected and I want to make it available in the public domain. I've got CSV files that look like this:
ACTORA,ACTORB
ACTORA,ACTORC
ACTORB,ACTORD,ACTORF,ACTORG,ACTORH
ACTORC,ACTORD,ACTORG,ACTORI,ACTORJ
ACTORC,ACTORE
I'm trying to convert ACTORA to 1 and ACTORB to 2, etc. I.e., I want it to look like this:
1,2
1,3
2,4,5,6,7
3,4,6,8,9
3,10
Does anyone know how to do this? Have a look at the data sets at http://snap.stanford.edu/data/index.html. That format would be perfect. I'd really appreciate your help on this, as I want to make the data available to the community.

Thank you kindly!