Ensures variable names match the dataset