fix options.filename for id variable

Hey @rossj  - I noticed the filename option wasn't working, looks like it was just missing a reference to "this" - o1. Great library btw.