BaseView.getAttributes:
Make sure that the model's id is converted to string so it would be included in the attributes.