Add id attribute to the bind resource iq (merging commit 76e012d)