Fixes id issue using regex

id attribute no longer ignored, but removed if equal to 0

Fixes #51 
Fixes #52