Isn't this already done in the create method in xblock.js (as it must be for setting the id on the model)?