title: org-mode: framebreak does not work with label option in exported beamer
body: <p>I'm using org-mode to generate beamer presentations. I have</p>
  
  <pre><code>(setq org-beamer-frame-default-options "allowframebreaks")
  </code></pre>
  
  <p>so my exported latex is like this:</p>
  
  <pre><code>\begin{frame}[allowframebreaks,label=sec-1-1-1]{Framebreak test}
  First List
  
  \begin{itemize}
  \item TEST
  \item TEST
  \item test
  \item test
  \item test
  \item test
  \item test
  \item test
  \item test
  \end{itemize}
  
  Second List
  
  \begin{itemize}
  \item TEST
  \item TEST
  \item test
  \item test
  \item test
  \item test
  \item test
  \item test
  \item test
  \end{itemize}
  \end{frame}
  </code></pre>
  
  <p>However when I compile this with <code>pdflatex</code>, the framebreak does not work. (It just generate one slide for this page, remaining stuff truncated).</p>
  
  <p>But if I manually remove <code>label=sec-1-1-1</code> so I only have <code>\begin{frame}[allowframebreaks]{Framebreak test}</code>, <code>framebreak</code> works well. Is this a bug or am I doing something wrong?</p>