To my knowledge, the second paramater is used to determine the id used in the data join. You can use the dataid here if it is available in the keys.