Police and political leaders in Northern Ireland have called for calm, after a man, 30, was charged with attempted murder.