Cabal-2.2.0.1: A framework for packaging Haskell software

Convert the UnqualComponentName of a library into a ComponentName.
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.