Add "id" attribute into the bind resource iq

Fixes #218