uniquify media names