Fix ambiguous reference to id