Allow widget model id to be set on creation via _model_id argument

Simple change meant to allow widget model ids to be set externally.