'Check if a style is either a identifier reference or a definition
of a thing that can be referenced by an identifier'

def is_identifier_or_definition_style(self, style):

    return (style in (SCE_RB_IDENTIFIER, SCE_RB_CLASSNAME, SCE_RB_DEFNAME, SCE_RB_MODULE_NAME))
