Anwar Ibrahim named Malaysian PM after post-election crisis