Merged location ID extraction updates from C API