This allows the IDs to be used as DNS labels, meaning they can be used as is for external scheduler task names. Closes #4903