Yeah. There is an api call that shows the mapping between a region's az names and the static az id's. I wasn't an early adopter but encountered the random az assignment in 2010.