getNamedAggregate
Retrieves the named aggregate by extracting the aggregate name from the target and constructing a named aggregate.
Return
The constructed named aggregate.
Parameters
target
The target object to extract the aggregate name from.