A cognitive model of recognition-based moral decision making