This verse ends this chapter and Jesus's largely humorous diatribe against the religious writers and lawyers of hs era. As the final line, it acts as a punchline.
The word translated as "blessed" is not the word translated as "Blessed" in the Beatitudes ("Blessed are the poor..."). It comes from a verb that means to "speak well of," "praise," and "honor." Amusingly, this is a euphemism for "cursed," reversing its normal meaning. It literally means "good speaking." It is in a past perfect passive form of a participle, "having been honored" or "having been cursed." The joke is that his opponents have been cursing him, but they should be praising him.
Neither the word "name" or "Lord" have an article in front of the, so not "the name" and "the Lord" but "a name" and "a lord." The joke is that his opponents have accused him of representing the Beelzebub because he castes out demons, but he actually represents the Divine.