A method of manufacturing a sensor member comprising the steps of arranging an initial sensor member in a fixed position relative to a material-removing tool, and control the tool to (i) remove material from the carrier alignment portion to thereby create an alignment structure, and (ii) remove material from at least one sensor layer area to thereby create a code segment pattern, each code segment thereby being aligned with the alignment structure.