Accessing <code>mw.config.get( 'wbEntityId' )</code> assumes that there is only one entity on the page. That refers to the problem that you want to know about the context. Since the DOM got refactored recently, you now may opt for detecting the context by simply querying the context:
```
var $entityView = this.element.closest( ':wikibase-entityview' ),
	entity = $entityView.length() > 0 ? $entityView.data( 'entityview' ).option( 'value' ) : null;
```
Querying the context should be preferred to the idea of adding additional options to injecting context which does not provide a specific use for the native component (which is what has been discussed). However, you cannot query the context from within <code>_create()</code> since the widget's element might not be placed in the DOM yet. Therefore, you would need to call <code>__useSuggester()</code> from within the attached event handlers.