Mass. Gen. Laws ch. 106, § 4A-208
(a) This subsection shall apply to a payment order identifying an intermediary bank or the beneficiary's bank only by an identifying number.
(b) This subsection shall apply to a payment order identifying an intermediary bank or the beneficiary's bank both by name and an identifying number if the name and number identify different persons.