It’s done using custom CSS.
If you have Bananas as your primary group:
.topic-meta-data .username.Bananas:after {
content: "Bananas Guys";
background: #59A6D9;
color: #000000;
margin: 0 0 0 5px;
padding: 2px 4px;
font-weight: bold;
font-size: 0.9em;
line-height: 1;
display: inline-block;
border-radius: 3px;
}