Unwrap Drop::Scope as an array of ids.