Support attribute aliases when wrapping parameters

When wrapping parameters we need to slice out both the attribute names
and the aliased attribute names.