allow default prop of `idAttribute` when none defined.   

Proposed fix for #93 with passing tests.  

I went with the 'any' property for the default.  Not sure if that was the best idea or not. 

note extra comment on the `toString` variable.   Looks like it could be removed...