added id algorithm documentary.