'Unify path to page.
Replace \'&\' in path with \'and\', remove spaces (if not specified
otherwise) and convert path to lower case.'

@classmethod
def unify_page_path(cls, path, preserve_spaces=True):

    path = path.replace('&', 'and')
    path = path.lower()
    if preserve_spaces:
        path = path.replace('    ', '_')
    else:
        path = path.replace('    ', '')
    return path
