Similar Items: The Relationship Between Separation Logic and Implicit Dynamic Frames