Use lookupOccRn_maybe in TH.lookupName
When looking up a value, we want to be able to find both variables and record fields. So we should not use the lookupSameOccRn_maybe
function, as we can't know ahead of time which record field namespace a record field with the given textual name will belong to.