title: Converting Terms to Atoms preserving variable names in YAP prolog
body: <p>Is there a way to configure YAP (and/or SWI prolog) so they will preserve variable names in any call to <code>term_to_atom/2</code> ?.</p>
  
  <p>For example, when I execute this:</p>
  
  <pre><code>term_to_atom(member(X, [1,2]), A).
  </code></pre>
  
  <p>I obtain this answer:</p>
  
  <pre><code>A = 'member(_131405,[1,2])'
  </code></pre>
  
  <p>Where <code>X</code> has been replaced by its internal representation. </p>
  
  <p>However, I would like to get this answer instead:</p>
  
  <pre><code>A = 'member(X,[1,2])'
  </code></pre>
  
  <p>Thanks for any help!</p>