Update similar.rb

Without id similar method for Mongoid throw error
```
filter does not support [$oid]];
```
because id is a hash {'$oid' : XXX}