I've not read the entire thread yet so this may have been addressed, but the hard coding of platform numbers into the signalling system goes back to the days of mechanical and then electromechanical signalling systems when it literally would be hardwired in. Later fully electronic systems had to be designed to interface and interact with those systems in a predictable and reliable manner so it was simpler and safer to just replicate their behaviour.The fact the platform numbers are hard coded isn't good coding practice.
One day, when all the mechanical boxes have closed and everything is software defined then it will be easy to redesign and renumber but we're not there yet.