Compare fully qualified names.