Fix BaseAggregateAsset::id() and tests; should use all contained leaves.