Converted host and VM IDs to integers