use lookup functions and skip invalid data
Pass identifier with every request to SCC
fix syntax warnings
first step to migrate from NCC to SCC