Returns the ctypes type name for the specified fortran parameter.

def _py_ctype(parameter):
    """Returns the ctypes type name for the specified fortran parameter.
    """
    ctype = parameter.ctype
    if ctype is None:
        raise ValueError("Can't bind ctypes py_parameter for parameter"
                         " {}".format(parameter.definition()))
    return ctype.lower()