Note: Code duplication here : this function and the function getColumn already exist in `PropelTypeGuesser`.