Fixed up the setPluginIdentifier method to remove reserved characters as per RFC 3986, trim the remaining string to 42 characters, use the default on nil and empty string, and not double-release the value if it is being set as the same string (common problem in custom setters)