getting identifier type by global property instead of getting from the identifier source