@classmethod<EOL><INDENT>def prettyname(cls, attrib_name):<DEDENT>
if attrib_name.startswith('<STR_LIT>'):<EOL><INDENT>tagname = attrib_name[len('<STR_LIT>'):]<EOL>return '<STR_LIT>'.format(tagname)<EOL><DEDENT>elif attrib_name in cls.COLUMN_NAMES:<EOL><INDENT>return cls.COLUMN_NAMES[attrib_name]<EOL><DEDENT>else:<EOL><INDENT>return attrib_name<EOL><DEDENT>
Returns the "pretty name" (capitalized, etc) of an attribute, by
looking it up in ``cls.COLUMN_NAMES`` if it exists there.

:param attrib_name: An attribute name.
:type attrib_name: ``str``

:rtype: ``str``