do not write <text/> if id is blank
Merge pull request #100 from dimagi/text-id-fix

do not write <text/> if id is blank
Merge branch 'master' into cleanup