The medium sensitivity survey - A new sample of X-ray sources with optical identifications and the revised extragalactic log N-log S