private String getBundleId(final IPluginModelBase model) {
final IPluginBase base = model.getPluginBase();
final String id = base.getId();
final StringBuffer buffer = new StringBuffer(id);
final ModelEntry entry = PluginRegistry.findEntry(id);
if (entry.getActiveModels().length > 1) {
buffer.append(VERSION_SEPARATOR);
buffer.append(model.getPluginBase().getVersion());
}
return buffer.toString();