Fixes id issue using regex

id attribute no longer ignored, but removed if equal to 0
Merge pull request #56 from ankjaers/id-issue

Fixes id issue using regex