TM/HM: Rewrite identifier function for fields2lucenedoc