Fix `Redis#id` inside pipeline blocks.

Closes #383.