Name derivation with array support and _id end.