Would it be out of the question to give named command blocks an internal prefix that gets used in cases like this? In CommandHelper block names start with '#', so the user can always tell from getName that a block is being referenced, and then just chop it off when they display it.