Use ID number as fallback code source if no code found in custom table

Signed-off-by: Tony Butler <tonyjbutler@gmail.com>