public function scaffoldMappableFields($includerelations = true)
    {
        $map = $this->getMappableFieldsForClass($this->objectClass);
        //set up 'dot notation' (Relation.Field) style mappings
        if ($includerelations) {
            if ($has_ones = singleton($this->objectClass)->hasOne()) {
                foreach ($has_ones as $relationship => $type) {
                    $fields = $this->getMappableFieldsForClass($type);
                    foreach ($fields as $field => $title) {
                        $map[$relationship.".".$field] =
                            $this->formatMappingFieldLabel($relationship, $title);
                    }
                }
            }
        }

        return $map;
    }