Allow numeric BasedOn values to look up CFs by ID

This alters the code to match the documentation:

    =item C<BasedOn>

    Name or ID of another Select Custom Field.  This makes the named CF
    the source of categories for your values.