Ensure falsy ids don't count as being a defined id in memory engine.
Merge pull request #6 from domharrington/falsy-id-fix

Ensure falsy ids don't count as being a defined id in memory engine.