Removed getId method from VirtualMachine because it is more suited for ManagedObject and the functionality is already covered by getReferenceId