Text this: Ultracold polar molecules as qudits