Re-use DataSeriesHelper::getRole().

Change-Id: Ia880bc03400d4cbf4c3033e01affafccc0a384fb