Return accepted answer id

This code is also untested.
in one line could be 

return self.accepted_answer_id or -1

or just

return self.accepted_answer_id #if Non value were OK