Loosely matching rhymes for device assignment