Text this: Bayesian estimation to identify crystalline phase structures for X-ray diffraction pattern analysis