Made the attribute binding respect the model idAttribute. [Fixes #120] 

This closes out the bug I filed, #120, about the id attribute not respecting the model's idAttribute. It includes test and updated code.