Add name/id settings flag to anchor plugin

This pull request adds new option `anchor_name_attr` for anchor plugin. If this option is set to `true` all new anchors will use attribute `name="..."` instead of `id="..."`.