Replace name with id.