adding plan for bayesian classifier
changing to id_dict