encode model IDs and tile coordinates when generating the data structures and decode that information when clicking on them (WiP, mostly working and walls are missing)
As has been mentioned before, there was no actual distinction between what you were clicking on, but as the commit message states, now there is at least a distinction between models (objects) and tile coordinates.
This is happening in the sparkling new SelectionColourManager which does not represent my best moment when it comes to naming things.