Issue #1456836 by gifad: Verify the "identifier" variable exists in is_identifier_unique() before using it.