doc: eloborated on ids in lang.py