fixed issue with idAttribute setting on master model