On the tail index inference based on the scaling functions method