I'd guess it's about as real as most other concepts we use - fuzzy at the borders and breaking down when you focus on them too hard. It's like asking when a chair stops being a chair - when it has 3 legs? 2 legs? When it's angled 45 degrees? 30 degrees? Etc.
I suspect that identity is just another way of grouping things by properties, in this case including sharing spatial and temporal history - I am the same I was 10 minutes ago, because I'm made mostly of what I was made 10 minutes ago, and I moved somewhat continuously through space, etc.