On one-sided prime ideals