Barcelona star Neymar must focus on more than just the attacking aspects of football if he is to be considered among the greats, says Brazilian legend Pele.