base: Name segments after their index