define constants for redis keys that store queue info
mehtod to determine which id the current queue item will be assigned