Ensure Reference ID is always a Number.