Bootstrap conditionals. I imagine you could use Size as the condition. (ie Size.Large)
I'm not sure that would work because some age categories have the same size. Would have to look at each dragon individually to see if any get different spell-like abilities at different age categories but have the same size.