handle duplicate column names by adding unique id to duplicate key name