DFT meets Bayesian inference: creating a framework for the assignment of calculated vibrational frequencies