I have a list of dataframes that I want to loop through and check if a particular string is located in id column. If so, get the index of that row and assign a
id