But it seems hugely self-aggrandizing to accept my own answer. Should I?
Yes, if you think the question and answer will ever be useful to other people, you should accept your answer. That sends a clear message that "this is what I did to solve the problem in the question." If one person has that problem, odds are other people will too, no matter how silly you feel for asking.