Perhaps we should allocate this from a global counter instead? Really make sure it is unique.