[Olena-patches] 4179: doc/Makefile.am: Fix id extraction during refman compilation.