added thread safe version of valueForKey: and setValue:forKey: