fixed issue with idAttribute not being used for the AJAX sync refs #10