Made some performance enhancing changes to oaserver.
Added get_id() to plugin interface.