The closest you have to an image id is the image file path. I have scripts (python) that define my entities, such as players, and in these scripts I create a mapping between nice image ids and the image file paths. This should give me everything I need. Also this is close to the CharMaps feature in Spriter, which means it will be easy to replace my map with the CharMaps when that feature is released.