"Where d is a db reference and s is a string, name returns the name of item" . . . .