added missing getId functions to classes derived from MWWorld::Class
automatically get target ID at InterpreterContext construction, if a reference is available