Cabal-3.0.0.0: A framework for packaging Haskell software

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.