Add a result to the results map with the given identifier.
identifier
void setStepResultForIdentifier(String identifier, RPResult result) => results[identifier] = result;