function splitPluginIdentifier(identifier) {
	const parts = identifier.split("/");

	return {
		objectName: parts.pop(),
		pluginName: parts.join("/"),
	};
}
Splits a plugin identifier in the form a/b/c into two parts: a/b and c.
@param {string} identifier The identifier to parse.
@returns {{objectName: string, pluginName: string}} The parts of the plugin
     name.