find functions in atom.cpp checks for id/name being NULL
(cherry picked from commit f7e741f3443964b7fd39e3e88817dc9f00108bb3)