Add function to identify potential categorical variables