Ensured the scheduler driver IDs are unique.

Review: https://reviews.apache.org/r/21667