Updating datasource for checking of model alias.

After upgrading to 2.3 the alias checking fails. I am not sure why the
check of ctype_upper is added in this method. This seems like a
enforcement of convention that Elastic may not comply with.