[#3480] Add XXXContext.dialect() and XXXContext.family() for convenience