Add variantName() method to consolidate the formatting for base name + variant name into compound icon variant name.