Return accepted answer id

This code is also untested.