Similar Items: On the Satisfiability of Local First-Order Logics with Data