Builds a configuration path relative to pathBase.
segment is the segment to append to the base path.
segment
String path(String segment) => '$pathBase.$segment';