Guarding against nil identifiers and contexts.