title: Use selector name as variable in LESS mixin
body: <p>I'm trying to create a mixin within LESS that will use it's selector name as a variable inside of the mixing. The mixin should look something like this, but I cannot find the exact syntax for it or if it's even possible:</p>
  
  <pre><code>.bg{
   background-image: url('images/@{SELECTORNAME}.png');
  }
  
  #header{
    .bg;
  }
  </code></pre>
  
  <p>results in:</p>
  
  <pre><code>#header{
      background-image: url('images/header.png');
  }
  </code></pre>
  
  <p>I'm thinking this isn't possible, plus what would happen if the selecter was something like:</p>
  
  <pre><code>div#menu ul li
  </code></pre>
  
  <p>That wouldn't really work but perhaps anyone knows of an alternative, wether this is possible in any other preprocessor.</p>
  
  <p>Thank you!</p>