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