Parameterization of Spark Token and ID