def path_section(item, n=1) if (n==1 && item.path=='/') then 'main' else sections = item.identifier.split('/') if (n