allow model id to be set externally on creation of a widget