'Consume a parameter reference and return it.
Consumes a reference to a positional parameter (:1) or a named parameter
(:email). Only consumes a single reference (not lists).
Returns:
The name of the reference (integer for positional parameters or string
for named parameters) to a bind-time parameter.'

def __Reference(self):

    logging.log(LOG_LEVEL, 'Try    Reference')
    reference = self.__AcceptRegex(self.__ordinal_regex)
    if reference:
        return int(reference)
    else:
        reference = self.__AcceptRegex(self.__named_regex)
        if reference:
            return reference
    return None
