Add type information when coding an identifier