In an unusually large show of Democratic Party unity, dozens of politicians and elected officials gathered yesterday on the steps of New York City Hall to celebrate the selection of Malcolm A. Smith, chosen by his colleagues to lead the Democratic minority in the State Senate.