Mobs that tend to despawn can be stopped from doing so by naming them.
However, this isn't the case for the squid; this makes settling them down as pets pretty much impossible unless you have a mega-aquarium, but the squids in it will be different each time. It's also a waste of a name-tag.
Dupe of MC-64214