def splitName(name):
    """Splits a glyph name into a (baseName string, suffix string) tuple."""
    baseName, suffix = '', ''
    nameElements = name.split('.')
    if len(nameElements) > 0:
        baseName = nameElements[0]
        if len(nameElements) > 1:
            suffix = '.'.join(nameElements[1:])
        else:
            suffix = ''
    return baseName, suffix