AKNS hierarchy, self-similarity, string equations and the Grassmannian