get the OS from the id