Store/access name details as data atrributes.