toPackageSegment
Best-effort conversion of a file system path segment into a Kotlin package segment.
Lowercases
Replaces invalid characters with
_Prefixes
_if the segment would start with a digitAvoids Kotlin keywords by prefixing
stig_