def make_identifier(headername):
    """Make #ifndef identifier that contains uppercase A-Z and digits 0-9"""
    result = ''
    for c in headername.upper():
        if c.isalnum():
            result += c
        else:
            result += '_'
    return result
