Don't need to log this anymore.
Make sure mValueForScripts has been initialized before trying to reference it, and don't overwrite it with a reference to a garbage value, pass destination and source in the right order.
Track Leonie fix for less inefficient reference ID generating.