Aliasing `id` and `type` columns to `_id` and `_type`

As agreed, the columns `id` and `type` should be referenced from the
attributes hash directly, and not from `_source`