Sorry, on the defense. My apologies.
The ID is thread/IP specific. And is double scrambled. Then the first 8 characters (from the 32 character scramble) are the actual ID.
One way random. Fresh every bread.
Link at bottom of every page goes to the GitHub Chan source code.