def METHOD_NAME(settings):
    """
    Return a dictionary with the common html settings.
    This property is only available from within the createToken method, it returns None when
    called externally.
    """
    out = dict()
    if settings.get('style', None) is not None:
        out['style'] = settings['style'].strip()
    if settings.get('id', None) is not None:
        out['id'] = settings['id'].strip()
    if settings.get('class', None) is not None:
        out['class'] = settings['class'].strip()
    return out