Extracts the primary name from a canonical dspec.
dspec
dspec-primary-name dspec => name
A canonical dspec.
name
A dspec name.
The function dspec-primary-name extracts the primary name from the canonical dspec dspec .
Note that for part classes this is the name of the aggregate definition, for example for methods it returns the name of the generic function.
dspec-class