Python script to clean messy IDS of original clinical data file.