Irish dramatist and writer of the play Pygmalion