lib: support astId
0.3.0