implement *magic* method to split on best attribute