unused IdScriptableObject patch

changed both NativeObject and NativeArray only, other classes not yet
working.
Change for you do not want to use the IdScriptableObject