core: add a method to convert id name to value ; os_windows: init fs