fix classnames and rejigger xml:ids a bit under advanced security section
add come markup for <classname> and <code>