Specific function to get value by dot notation