Use lookupValueName to check if name exists

`reify` for locally defined names (in the same module as the splice) isn't
supported in GHC 7.8 anymore, so it fails. But we can still use 
lookupValueName, which returns Nothing if the name doesn't exist.