/**
 * Shortcode [was id=""]
 * 
 * @since 0.1
 * 
 * @uses shortcode_atts()
 * @todo does nothing right now. 
 * 
 * @return string
 */
function was_shortcode($atts, $content = null)
{
    extract(shortcode_atts(array('id' => 0), $atts));
    $ad = new Advertisment((int) esc_attr($id));
    return '<div class="was-' . esc_attr($id) . '">' . $ad->getName() . '</div>';
}