Fixed bug in CExtractFunction. Some ids have not been transformed into pointers due changed object id as of wrong behaviour of the rewrite rule. fixed it.