Returns the environment of object o.