Finding accounting hash by key, de-pointerizing accounting_id and adding...

... accounting ids dynamically
No actually that was an errant paste while I was working :-)