When you place a named banner on the wall and break it, it reverts back to "_____ Banner". However, if the same named banner on the floor, the name remains. It seems to lose it's name as soon as it is placed on the wall, as when set as a marker on a map, there is no name.
Related issues
Comments

Duplicate of MC-140069