Adds setReferenceIdsByAttributeName method in ActionContext.