Cabal-syntax-3.8.1.0: A library for working with .cabal files
This gets the underlying unqualified component name. In fact, it is guaranteed to uniquely identify a component, returning Nothing if the ComponentName was for the public library.