Input parameter null checking for AstFactory methods
Never return null for AstIdentifierBase unless has error
Merge pull request #3243 from ke-yu/fix_magn5096

Fix magn5096: AstFactory methods require null checks